//
//  FraViewController.m
//  myFrameWork
//
//  Created by 宇宙执政 on 16/12/26.
//  Copyright © 2016年 yujianbinMAC. All rights reserved.
//

#import "FraViewController.h"
#import "FraSencodViewController.h"

@interface FraViewController ()

@end

@implementation FraViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
 
    self.view.backgroundColor = [UIColor redColor];
}

- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{

     FraSencodViewController *secVc =[[FraSencodViewController alloc
      ] initWithNibName:@"FraSencodViewController" bundle:[NSBundle bundleForClass:self.class]];
    
    [self presentViewController:secVc animated:YES completion:nil];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
